package com.yunzheng.studyLeaveSystem.modules.user.leaveFunction.leave.entity;

/**
 * 请假实体
 */
public class Leave {
    //姓名
    private String name;
    //期数
    private String term;
    //性别
    private String gender;
    //方向
    private String direction;
    //请假日期
    private String leave_date;
    //请假节数
    private String leave_class;
    //请假理由
    private String reason;

    public Leave() {
    }

    public Leave(String name, String term, String gender, String direction, String leave_date, String leave_class, String reason) {
        this.name = name;
        this.term = term;
        this.gender = gender;
        this.direction = direction;
        this.leave_date = leave_date;
        this.leave_class = leave_class;
        this.reason = reason;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getLeave_date() {
        return leave_date;
    }

    public void setLeave_date(String leave_date) {
        this.leave_date = leave_date;
    }

    public String getLeave_class() {
        return leave_class;
    }

    public void setLeave_class(String leave_class) {
        this.leave_class = leave_class;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    @Override
    public String toString() {
        return "Leave{" +
                "name='" + name + '\'' +
                ", term='" + term + '\'' +
                ", gender='" + gender + '\'' +
                ", direction='" + direction + '\'' +
                ", leave_date='" + leave_date + '\'' +
                ", leave_class='" + leave_class + '\'' +
                ", reason='" + reason + '\'' +
                '}';
    }
}
